package org.study.springboot.model.tonghuashun;

import java.util.List;

/**
 * <p>Title: LimitUp <p>
 * <p>Description: TODO<p>
 *
 * @Author ZhangSY
 * @Date 2024/1/5 0:06
 * @Version v1.0
 **/
public class LimitUp {

    /**
     * status_code : 0
     * data : {"page":{"limit":2,"total":8,"count":4,"page":1},"info":[{"code":"300394","is_new":0,"limit_up_suc_rate":1,"currency_value":3.5482681E10,"market_id":33,"is_again_limit":null,"change_rate":17.8413,"turnover_rate":10.3014,"name":"天孚通信","high_days_value":null,"change_tag":"LIMIT_FAILED","rise_rate":-1.653,"turnover":3.4613762E9,"market_type":"GEM","latest":98.15,"time_preview":[0.7924,2.4733,2.8575,19.9184]},{"code":"300548","is_new":0,"limit_up_suc_rate":null,"currency_value":7.2962555E9,"market_id":33,"is_again_limit":null,"change_rate":17.1198,"turnover_rate":25.0956,"name":"博创科技","high_days_value":null,"change_tag":"LIMIT_FAILED","rise_rate":-0.031,"turnover":1.7605797E9,"market_type":"GEM","latest":31.88,"time_preview":[4.7024,6.7597,7.0904,17.1932]}],"limit_up_count":{"today":{"num":33,"history_num":50,"rate":0.66,"open_num":17},"yesterday":{"num":39,"history_num":54,"rate":0.7222222222222222,"open_num":15}},"limit_down_count":{"today":{"num":13,"history_num":16,"rate":0.8125,"open_num":3},"yesterday":{"num":16,"history_num":24,"rate":0.6666666666666666,"open_num":8}},"date":"20231208","msg":null,"trade_status":{"id":"non_trading_day","name":"非交易日","start_time":"00:00","end_time":"23:59:59.999"}}
     * status_msg : success
     */

    private int status_code;
    private DataBean data;
    private String status_msg;

    public int getStatus_code() {
        return status_code;
    }

    public void setStatus_code(int status_code) {
        this.status_code = status_code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getStatus_msg() {
        return status_msg;
    }

    public void setStatus_msg(String status_msg) {
        this.status_msg = status_msg;
    }

    public static class DataBean {
        /**
         * page : {"limit":2,"total":8,"count":4,"page":1}
         * info : [{"code":"300394","is_new":0,"limit_up_suc_rate":1,"currency_value":3.5482681E10,"market_id":33,"is_again_limit":null,"change_rate":17.8413,"turnover_rate":10.3014,"name":"天孚通信","high_days_value":null,"change_tag":"LIMIT_FAILED","rise_rate":-1.653,"turnover":3.4613762E9,"market_type":"GEM","latest":98.15,"time_preview":[0.7924,2.4733,2.8575,19.9184]},{"code":"300548","is_new":0,"limit_up_suc_rate":null,"currency_value":7.2962555E9,"market_id":33,"is_again_limit":null,"change_rate":17.1198,"turnover_rate":25.0956,"name":"博创科技","high_days_value":null,"change_tag":"LIMIT_FAILED","rise_rate":-0.031,"turnover":1.7605797E9,"market_type":"GEM","latest":31.88,"time_preview":[4.7024,6.7597,7.0904,17.1932]}]
         * limit_up_count : {"today":{"num":33,"history_num":50,"rate":0.66,"open_num":17},"yesterday":{"num":39,"history_num":54,"rate":0.7222222222222222,"open_num":15}}
         * limit_down_count : {"today":{"num":13,"history_num":16,"rate":0.8125,"open_num":3},"yesterday":{"num":16,"history_num":24,"rate":0.6666666666666666,"open_num":8}}
         * date : 20231208
         * msg : null
         * trade_status : {"id":"non_trading_day","name":"非交易日","start_time":"00:00","end_time":"23:59:59.999"}
         */

        private PageBean page;
        private LimitUpCountBean limit_up_count;
        private LimitDownCountBean limit_down_count;
        private String date;
        private Object msg;
        private TradeStatusBean trade_status;
        private List<InfoBean> info;

        public PageBean getPage() {
            return page;
        }

        public void setPage(PageBean page) {
            this.page = page;
        }

        public LimitUpCountBean getLimit_up_count() {
            return limit_up_count;
        }

        public void setLimit_up_count(LimitUpCountBean limit_up_count) {
            this.limit_up_count = limit_up_count;
        }

        public LimitDownCountBean getLimit_down_count() {
            return limit_down_count;
        }

        public void setLimit_down_count(LimitDownCountBean limit_down_count) {
            this.limit_down_count = limit_down_count;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public Object getMsg() {
            return msg;
        }

        public void setMsg(Object msg) {
            this.msg = msg;
        }

        public TradeStatusBean getTrade_status() {
            return trade_status;
        }

        public void setTrade_status(TradeStatusBean trade_status) {
            this.trade_status = trade_status;
        }

        public List<InfoBean> getInfo() {
            return info;
        }

        public void setInfo(List<InfoBean> info) {
            this.info = info;
        }

        public static class PageBean {
            /**
             * limit : 2
             * total : 8
             * count : 4
             * page : 1
             */

            private int limit;
            private int total;
            private int count;
            private int page;

            public int getLimit() {
                return limit;
            }

            public void setLimit(int limit) {
                this.limit = limit;
            }

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public int getPage() {
                return page;
            }

            public void setPage(int page) {
                this.page = page;
            }
        }

        public static class LimitUpCountBean {
            /**
             * today : {"num":33,"history_num":50,"rate":0.66,"open_num":17}
             * yesterday : {"num":39,"history_num":54,"rate":0.7222222222222222,"open_num":15}
             */

            private TodayBean today;
            private YesterdayBean yesterday;

            public TodayBean getToday() {
                return today;
            }

            public void setToday(TodayBean today) {
                this.today = today;
            }

            public YesterdayBean getYesterday() {
                return yesterday;
            }

            public void setYesterday(YesterdayBean yesterday) {
                this.yesterday = yesterday;
            }

            public static class TodayBean {
                /**
                 * num : 33
                 * history_num : 50
                 * rate : 0.66
                 * open_num : 17
                 */

                private int num;
                private int history_num;
                private double rate;
                private int open_num;

                public int getNum() {
                    return num;
                }

                public void setNum(int num) {
                    this.num = num;
                }

                public int getHistory_num() {
                    return history_num;
                }

                public void setHistory_num(int history_num) {
                    this.history_num = history_num;
                }

                public double getRate() {
                    return rate;
                }

                public void setRate(double rate) {
                    this.rate = rate;
                }

                public int getOpen_num() {
                    return open_num;
                }

                public void setOpen_num(int open_num) {
                    this.open_num = open_num;
                }
            }

            public static class YesterdayBean {
                /**
                 * num : 39
                 * history_num : 54
                 * rate : 0.7222222222222222
                 * open_num : 15
                 */

                private int num;
                private int history_num;
                private double rate;
                private int open_num;

                public int getNum() {
                    return num;
                }

                public void setNum(int num) {
                    this.num = num;
                }

                public int getHistory_num() {
                    return history_num;
                }

                public void setHistory_num(int history_num) {
                    this.history_num = history_num;
                }

                public double getRate() {
                    return rate;
                }

                public void setRate(double rate) {
                    this.rate = rate;
                }

                public int getOpen_num() {
                    return open_num;
                }

                public void setOpen_num(int open_num) {
                    this.open_num = open_num;
                }
            }
        }

        public static class LimitDownCountBean {
            /**
             * today : {"num":13,"history_num":16,"rate":0.8125,"open_num":3}
             * yesterday : {"num":16,"history_num":24,"rate":0.6666666666666666,"open_num":8}
             */

            private TodayBeanX today;
            private YesterdayBeanX yesterday;

            public TodayBeanX getToday() {
                return today;
            }

            public void setToday(TodayBeanX today) {
                this.today = today;
            }

            public YesterdayBeanX getYesterday() {
                return yesterday;
            }

            public void setYesterday(YesterdayBeanX yesterday) {
                this.yesterday = yesterday;
            }

            public static class TodayBeanX {
                /**
                 * num : 13
                 * history_num : 16
                 * rate : 0.8125
                 * open_num : 3
                 */

                private int num;
                private int history_num;
                private double rate;
                private int open_num;

                public int getNum() {
                    return num;
                }

                public void setNum(int num) {
                    this.num = num;
                }

                public int getHistory_num() {
                    return history_num;
                }

                public void setHistory_num(int history_num) {
                    this.history_num = history_num;
                }

                public double getRate() {
                    return rate;
                }

                public void setRate(double rate) {
                    this.rate = rate;
                }

                public int getOpen_num() {
                    return open_num;
                }

                public void setOpen_num(int open_num) {
                    this.open_num = open_num;
                }
            }

            public static class YesterdayBeanX {
                /**
                 * num : 16
                 * history_num : 24
                 * rate : 0.6666666666666666
                 * open_num : 8
                 */

                private int num;
                private int history_num;
                private double rate;
                private int open_num;

                public int getNum() {
                    return num;
                }

                public void setNum(int num) {
                    this.num = num;
                }

                public int getHistory_num() {
                    return history_num;
                }

                public void setHistory_num(int history_num) {
                    this.history_num = history_num;
                }

                public double getRate() {
                    return rate;
                }

                public void setRate(double rate) {
                    this.rate = rate;
                }

                public int getOpen_num() {
                    return open_num;
                }

                public void setOpen_num(int open_num) {
                    this.open_num = open_num;
                }
            }
        }

        public static class TradeStatusBean {
            /**
             * id : non_trading_day
             * name : 非交易日
             * start_time : 00:00
             * end_time : 23:59:59.999
             */

            private String id;
            private String name;
            private String start_time;
            private String end_time;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getStart_time() {
                return start_time;
            }

            public void setStart_time(String start_time) {
                this.start_time = start_time;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }
        }

        public static class InfoBean {
            /**
             * code : 300394
             * is_new : 0
             * limit_up_suc_rate : 1
             * currency_value : 3.5482681E10
             * market_id : 33
             * is_again_limit : null
             * change_rate : 17.8413
             * turnover_rate : 10.3014
             * name : 天孚通信
             * high_days_value : null
             * change_tag : LIMIT_FAILED
             * rise_rate : -1.653
             * turnover : 3.4613762E9
             * market_type : GEM
             * latest : 98.15
             * time_preview : [0.7924,2.4733,2.8575,19.9184]
             */

            private String code;
            private int is_new;
            private int limit_up_suc_rate;
            private double currency_value;
            private int market_id;
            private Object is_again_limit;
            private double change_rate;
            private double turnover_rate;
            private String name;
            private Object high_days_value;
            private String change_tag;
            private double rise_rate;
            private double turnover;
            private String market_type;
            private double latest;
            private List<Double> time_preview;

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public int getIs_new() {
                return is_new;
            }

            public void setIs_new(int is_new) {
                this.is_new = is_new;
            }

            public int getLimit_up_suc_rate() {
                return limit_up_suc_rate;
            }

            public void setLimit_up_suc_rate(int limit_up_suc_rate) {
                this.limit_up_suc_rate = limit_up_suc_rate;
            }

            public double getCurrency_value() {
                return currency_value;
            }

            public void setCurrency_value(double currency_value) {
                this.currency_value = currency_value;
            }

            public int getMarket_id() {
                return market_id;
            }

            public void setMarket_id(int market_id) {
                this.market_id = market_id;
            }

            public Object getIs_again_limit() {
                return is_again_limit;
            }

            public void setIs_again_limit(Object is_again_limit) {
                this.is_again_limit = is_again_limit;
            }

            public double getChange_rate() {
                return change_rate;
            }

            public void setChange_rate(double change_rate) {
                this.change_rate = change_rate;
            }

            public double getTurnover_rate() {
                return turnover_rate;
            }

            public void setTurnover_rate(double turnover_rate) {
                this.turnover_rate = turnover_rate;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Object getHigh_days_value() {
                return high_days_value;
            }

            public void setHigh_days_value(Object high_days_value) {
                this.high_days_value = high_days_value;
            }

            public String getChange_tag() {
                return change_tag;
            }

            public void setChange_tag(String change_tag) {
                this.change_tag = change_tag;
            }

            public double getRise_rate() {
                return rise_rate;
            }

            public void setRise_rate(double rise_rate) {
                this.rise_rate = rise_rate;
            }

            public double getTurnover() {
                return turnover;
            }

            public void setTurnover(double turnover) {
                this.turnover = turnover;
            }

            public String getMarket_type() {
                return market_type;
            }

            public void setMarket_type(String market_type) {
                this.market_type = market_type;
            }

            public double getLatest() {
                return latest;
            }

            public void setLatest(double latest) {
                this.latest = latest;
            }

            public List<Double> getTime_preview() {
                return time_preview;
            }

            public void setTime_preview(List<Double> time_preview) {
                this.time_preview = time_preview;
            }
        }
    }
}
